package hello;

/**
 * Created by Germmy on 2017/11/5.
 */
public class MyClientNotSafe implements  Runnable {
    public static int num=0;
    public void run() {
        //获得了锁, 进行业务流程
        num++;
        System.out.println("当前线程ID是："+Thread.currentThread().getId()+",数字是:"+num);
    }
}
